﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Directions.aspx.cs" Inherits="ITOMMS.Web.Directions" %>

<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>客户需知</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

#con {
	FONT-SIZE: 12px; MARGIN: 0px auto; WIDTH: 800px;
}
#tags {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 10px; WIDTH: 400px; PADDING-TOP: 0px; HEIGHT: 23px; 
}
#tags li {
	BACKGROUND: url(../images/tagleft.gif) no-repeat left bottom; FLOAT: left; MARGIN-RIGHT: 1px; liST-style-TYPE: none; HEIGHT: 23px;
}
#tags li A {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; BACKGROUND: url(../images/tagright.gif) no-repeat right bottom; FLOAT: left; PADDING-BOTTOM: 0px; COLOR: #999; liNE-HEIGHT: 23px; PADDING-TOP: 0px; HEIGHT: 23px; TEXT-DECORATION: none
}
#tags li.emptyTag {
	BACKGROUND: none transparent scroll repeat 0% 0%; WIDTH: 4px
}
#tags li.selectTag {
	BACKGROUND-POSITION: left top; MARGIN-BOTTOM: -2px; POSITION: relative; HEIGHT: 25px
}
#tags li.selectTag A {
	BACKGROUND-POSITION: right top; COLOR: #000; liNE-HEIGHT: 25px; HEIGHT: 25px
}
#tagContent {
	BORDER-RIGHT: #aecbd4 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #aecbd4 1px solid; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; BORDER-LEFT: #aecbd4 1px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #aecbd4 1px solid; BACKGROUND-COLOR: #fff
}
.tagContent {
	PADDING-RIGHT: 10px; DISPLAY: none; PADDING-LEFT: 10px; BACKGROUND: url(../images/bg_tab.gif) repeat-x; PADDING-BOTTOM: 10px; WIDTH: 100%; COLOR: #474747; PADDING-TOP: 10px; HEIGHT: 350px
}
#tagContent div.selectTag {
	DISPLAY: block
}
</style>
</head>
<body>
    <form id="form1" runat="server">
        <div id="message" style="background-color: Red">
        </div>
        <table class="tblDataArea" width="100%" style="height:400px;">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="2">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;"  alt="."/>客户需知</div>
                </td>
            </tr>
            <tr>
                <td class="tblQueryArea" style=" text-align:left; width: 58px; vertical-align:top">
                    <div id="con" >
                        <ul id="tags">
                            <li class="selectTag"><a onclick="selectTag('tagContent0',this)" href="javascript:void(0)"><%=sTitle1 %></a> </li>
                            <li><a onclick="selectTag('tagContent1',this)" href="javascript:void(0)"><%=sTitle2 %></a> </li>
                            <li><a onclick="selectTag('tagContent2',this)" href="javascript:void(0)"><%=sTitle3 %></a>
                            </li>
                        </ul>
                        <div id="tagContent">
                            <div class="tagContent selectTag" id="tagContent0">
                                <p><%=sContent1 %></div>
                            <div class="tagContent" id="tagContent1">
                                <p><%=sContent2 %></p></div>
                            <div class="tagContent" id="tagContent2">
                                <p><%=sContent3 %></p></div>
                        </div>
                    </div>

                    <script type="text/javascript">
                        function selectTag(showContent,selfObj){
	                        // 操作标签
	                        var tag = document.getElementById("tags").getElementsByTagName("li");
	                        var taglength = tag.length;
	                        for(i=0; i<taglength; i++){
		                        tag[i].className = "";
	                        }
	                        selfObj.parentNode.className = "selectTag";
	                        // 操作内容
	                        for(i=0; j=document.getElementById("tagContent"+i); i++){
		                        j.style.display = "none";
	                        }
	                        document.getElementById(showContent).style.display = "block";
                        }
                    </script>

                </td>
            </tr>
        </table>
    </form>
</body>
</html>



